package org.example;

import org.example.service.HotelService;
import org.example.service.impl.HotelServiceImpl2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @Author 李荣
 * @Date 2025/1/21
 * @Description
 */

@SpringBootApplication
public class GraduateCodeApplication {

    public static void main(String[] args) {
        SpringApplication.run(GraduateCodeApplication.class,args);
    }

    @Bean
    public HotelService hotelService()
    {
        return new HotelServiceImpl2();
    }
}
